Package com.cisco.pt.ipc.sim.pdu.impl
Class DialFrameImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.DialFrameImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected intprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleanintvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIsRouterOrPc(boolean isRouterOrPc) voidsetMessage(String message) voidsetMsgType(int msgType) voidsetPhoneNumber(String phoneNumber) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
isRouterOrPc
protected boolean isRouterOrPc -
phoneNumber
-
message
-
msgType
protected int msgType
-
-
Constructor Details
-
DialFrameImpl
public DialFrameImpl()
-
-
Method Details
-
getIsRouterOrPc
public boolean getIsRouterOrPc()- Specified by:
getIsRouterOrPcin interfaceDialFrame- Returns:
- boolean Returns a boolean
-
setIsRouterOrPc
public void setIsRouterOrPc(boolean isRouterOrPc) - Specified by:
setIsRouterOrPcin interfaceDialFrame- Parameters:
isRouterOrPc- Takes in a parameter of isRouterOrPc
-
getPhoneNumber
- Specified by:
getPhoneNumberin interfaceDialFrame- Returns:
- String Returns a String
-
setPhoneNumber
- Specified by:
setPhoneNumberin interfaceDialFrame- Parameters:
phoneNumber- Takes in a parameter of phoneNumber
-
getMessage
- Specified by:
getMessagein interfaceDialFrame- Returns:
- String Returns a String
-
setMessage
- Specified by:
setMessagein interfaceDialFrame- Parameters:
message- Takes in a parameter of message
-
getMsgType
public int getMsgType()- Specified by:
getMsgTypein interfaceDialFrame- Returns:
- int Returns a int
-
setMsgType
public void setMsgType(int msgType) - Specified by:
setMsgTypein interfaceDialFrame- Parameters:
msgType- Takes in a parameter of msgType
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-